package com.example.demo.Service.impl;

import com.example.demo.Service.ICarouselService;
import com.example.demo.entity.vo.CarouselVo;
import com.example.demo.mapper.CarouselMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ICarouselServiceImpl implements ICarouselService {

    @Autowired
    private CarouselMapper carouselMapper;
    @Override
    public List<CarouselVo> list() {
        return carouselMapper.select();
    }
}
